
package com.lbssoft.datalink.model;

import java.util.Date;


/*
 * @ClassName:  Command   
 * @Description: 命令响应数据，用户平台下发透传命令，接受设备的响应消息 
 * @author: Riven
 * @date:   2017年7月10日 上午9:47:54   
 *     
 * @Copyright: 2017 www.lbssoft.com Inc. All rights reserved. 
 */
/**
 * <b>设备命令响应的实体类</b>
 * @version 1.1.4
 * @author riven
 */
public class Command extends BaseMsg{
	
	public Command(){
		 super();
	     setType(MsgType.COMMAND);
	}
	
	private long deviceId;

	private String deviceUUID;

	//流水号
	private int sn;
	
	//返回结果
	private int result;
	
	//响应内容
	private String res;
	
	//响应时间
	private Date resTime;



	public int getSn() {
		return sn;
	}

	public void setSn(int sn) {
		this.sn = sn;
	}

	public int getResult() {
		return result;
	}

	public void setResult(int result) {
		this.result = result;
	}

	public String getRes() {
		return res;
	}

	public void setRes(String res) {
		this.res = res;
	}

	public Date getResTime() {
		return resTime;
	}

	public void setResTime(Date resTime) {
		this.resTime = resTime;
	}

	public long getDeviceId() {
		return deviceId;
	}

	public void setDeviceId(long deviceId) {
		this.deviceId = deviceId;
	}

	public String getDeviceUUID() {
		return deviceUUID;
	}

	public void setDeviceUUID(String deviceUUID) {
		this.deviceUUID = deviceUUID;
	}
}